package com.yanqu.road.entity.enums;

public enum eDunHuangShiKuEventType {
	/**
	 * npc战斗
	 */
	NpcFight(1),
	/**
	 * 玩家战斗
	 */
	PlayerFight(2),
	/**
	 * 福利
	 */
	Welfare(3),
	/**
	 * 宝箱
	 */
	Box(4),
	/**
	 * 藏经洞
	 */
	SutraCave(5),
	;

	private int intValue;

	eDunHuangShiKuEventType(int value) {
		intValue = value;
	}

	public int getValue() {
		return intValue;
	}

	public static eDunHuangShiKuEventType forValue(int value) {
		for (eDunHuangShiKuEventType type : eDunHuangShiKuEventType.values()) {
			if (type.intValue == value) {
				return type;
			}
		}
		return null;
	}
}
